import { Md5 } from 'ts-md5'

const useMd5 = (str = '') :string => {
  const md5: any = new Md5()
  md5.appendAsciiStr(str)
  return md5.end()
}
export default useMd5